import request from "../../http";

const chatApi = {
    // 获取历史记录
    // getHistoryMessage (data) {
    //     return request ({
    //         url: '/api/jump',
    //         method: "post",
    //         data
    //     })

    // }

    getHistoryMessage(data) {
        return request ({
            url:'/api/conversation/'+data.id,
            method: "get",
            params: data
        })
    },
    getAllConversationInfo(data) {
        return request ({
            url:'/api/conversation/detail/getAll',
            method: "get",
            params: data
        })
    },
    getSearchMessage(data) {
        return request ({
            url: '/api/conversation',
            method: 'get',
            params: data
        })
    },
    // 足迹
    getStepInfo (data) {
        return request ({
            url: '/pc/server/link/list',
            method: 'get',
            params: data
        })
    },
   
}

export default chatApi;